package com.calendar.api.service;

import com.calendar.api.model.Task;
import com.calendar.api.model.dto.TaskDTO;

import java.time.LocalDate;
import java.util.List;

public interface TaskService {
    List<Task> getTasks(String categoryId, Long userId);
    Task getTask(Long id, Long userId);
    Task createTask(TaskDTO taskDTO, Long userId);
    Task updateTask(Long id, TaskDTO taskDTO, Long userId);
    void deleteTask(Long id, Long userId);
    Task toggleTaskStatus(Long id, Long userId);
    List<Task> getTasksByDueDate(LocalDate dueDate, Long userId);
} 